package com.quarkus.cloud.domain.request;

import java.io.File;

import org.jboss.resteasy.annotations.providers.multipart.PartType;

import jakarta.ws.rs.FormParam;
import jakarta.ws.rs.core.MediaType;
import lombok.Data;

@Data
public class FormData {

	@FormParam("file")
	@PartType(MediaType.APPLICATION_OCTET_STREAM)
	public File file;

	@FormParam("fileName")
	@PartType(MediaType.TEXT_PLAIN)
	public String fileName;
}
